using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._UtilityNetworkTools
{
    /// <summary>
    /// <para>Delete Diagram</para>
    /// <para>Select and delete network diagrams from a diagram dataset</para>
    /// <para>从逻辑示意图数据集中选择和删除网络逻辑示意图</para>
    /// </summary>    
    [DisplayName("Delete Diagram")]
    public class DeleteDiagram : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public DeleteDiagram()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_diagrams">
        /// <para>Input Network or Network Diagram Layer</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public DeleteDiagram(object _in_diagrams)
        {
            this._in_diagrams = _in_diagrams;
        }
        public override string ToolboxName => "Utility Network Tools";

        public override string ToolName => "Delete Diagram";

        public override string CallName => "un.DeleteDiagram";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_diagrams, _template_names, _diagram_names, _out_diagrams];

        /// <summary>
        /// <para>Input Network or Network Diagram Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network or Network Diagram Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_diagrams { get; set; }


        /// <summary>
        /// <para>Template Names</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Template Names")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public List<object> _template_names { get; set; } = null;


        /// <summary>
        /// <para>Diagram Names</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Diagram Names")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public List<object> _diagram_names { get; set; } = null;


        /// <summary>
        /// <para>Output Network or Network Diagram Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Network or Network Diagram Layer")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_diagrams { get; set; }


        public DeleteDiagram SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}